package ai.people.platform.archives.service;

import ai.people.netmon.framework.domain.archives.entity.ArchivesUserAssociation;
import ai.people.netmon.framework.domain.system.vo.NmSystemUserSimpleVO;
import ai.people.netmon.framework.model.response.ListResponse;

/**
 * 分享享用户服务
 *
 * @author yuanqinglong
 * @date 2022/3/31 15:24
 */
public interface ArchivesShareUserService {


    /**
     * 分享用户列表
     *
     * @param archiveId 档案id
     * @return {@link ListResponse}<{@link NmSystemUserSimpleVO}>
     */
    ListResponse<NmSystemUserSimpleVO> shareUserList(Long archiveId);


    /**
     * 分享档案
     *
     * @param archivesUserAssociation 档案用户关系
     */
    void shareArchives(ArchivesUserAssociation archivesUserAssociation);

}
